<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/select.css">
    <script src="js/jssdk.js"></script>
    <script src="js/bj_wechat.js"></script>
    <title>活动页面</title>
</head>
<body>
    <div class="web" id="wrap">
        
        <div class="allPage">
            <div class="page pageOne" ></div>
            <div class="page pageTwo">
            </div>
            <div class="page pageThree">

            </div>
            <div class="page pageFour">
                <div class="selectArea">
                    <input type="text" id="selectPro" style="height:30px;" value="0">
                    <input type="text" id="selectCity" style="height:30px;" value="0">
                </div>
                <div class="selectDealer">
                    <input type="text" id="selectDealer" style="height:30px;" value="0" />
                </div>
                <div class="selectCar">
                    <input type="text" id="selectModel" style="height:30px;" value="0">
                    <input type="text" id="selectSeries" style="height:30px;" value="0">
                </div>
                <div class="submitBtn">提交</div>
            </div>
        </div>
    </div>
    <script src="js/jquery-2.1.0.js"></script>
    <script type="text/javascript" src="js/bscroll.js"></script>
    <script src="js/select.js"></script>
    <script src="js/index.js"></script>
    <script>
        let wrapper = document.querySelector('#wrap');
        let scroll = new BScroll(wrapper,{
            scrollX: false,
            scrollY: true,
            momentum: false,
            tap:true,
            snap: {
                loop: false,
                threshold: 0.3,
                speed: 400,
                easing: {
                    style: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)'
                }
            },
            bounce: false,
            click: true
        });
        $(".page").on("tap",function () {
            scroll.next();
        });
        // Utils.get(
        //    API.GET_JSSDK,
        //     {},
        //     function (res) {
        //         res = JSON.parse(res);
        //         if (res.res == 0) {
        //             alert(res.msg);
        //         } else {
        //             wx.config({
        //                 debug: false,
        //                 appId: res.data.appId,
        //                 timestamp: res.data.timestamp,
        //                 nonceStr: res.data.nonceStr,
        //                 signature: res.data.signature,
        //                 jsApiList: [
        //                     // 所有要调用的 API 都要加到这个列表中
        //                     "onMenuShareTimeline",
        //                     "onMenuShareAppMessage"
        //                 ]
        //             });
        //             wx.ready(function () {
        //                 Utils.initWXShare(CONFIG.SHARETITLE, CONFIG.SHAREDESC, CONFIG.SHARELINK, CONFIG.SHAREIMG);
        //                 console.warn("初始化jSSDK成功");
        //             });
        //         }
        //     }
        // )
    </script>
</body>
</html>